* {
	margin: 0;
	padding: 0;
}

html,
body {
	font-family: Microsoft YaHei;
	font-size: 0.8em;
	width: 100%;
	height: 100%;
}

.notepad-dlg-mask {
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
}

.notepad-statusbar {
	background: #f0f0f0;
	border-top: 1px solid #d7d7d7;
	bottom: 0;
	box-sizing: border-box;
	height: 22px;
	left: 0;
	position: fixed;
	right: 0;
}

.notepad-statusbar .right-panel {
	border-left: 1px solid #d7d7d7;
	bottom: 1px;
	height: 19px;
	min-width: 170px;
	overflow: hidden;
	position: absolute;
	right: 0;
	width: 25%;
}

.notepad-statusbar .right-panel .row-col {
	cursor: default;
	font-size: 1em;
	line-height: 19px;
	margin: 0 auto;
	text-align: center;
	user-select: none;
}

.notepad-dlgbox {
	border: 1px solid #0f7fd6;
	box-shadow: 10px 10px 10px #d6d6d6;
	box-sizing: border-box;
	cursor: default;
	margin: 0 auto;
	position: relative;
	top: 100px;
	user-select: none;
}

.notepad-dlg-titlebar {
	background-color: white;
	font-size: 1.3em;
	height: 30px;
}

.notepad-menubar {
	background-color: white;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	user-select: none;
	z-index: 5;
}

.notepad-menubar .menu-title {
	margin: 0;
	padding: 0;
}

.notepad-menubar .title {
	border: 1px solid white;
	box-sizing: border-box;
	cursor: default;
	display: inline-block;
	font-size: 1em;
	height: 20px;
	line-height: 18px;
	text-align: center;
	width: 54px;
}

.notepad-menubar .title:hover {
	box-sizing: border-box;
	background-color: #cce8ff;
	border: 1px solid #99d1ff;
}

.notepad-menubar .menus {
	background-color: #f2f2f2;
	box-shadow: 5px 5px 5px #a6a6a6;
	display: inline-block;
	font-size: 1em;
	margin: 0;
	padding: 2px;
	position: absolute;
	top: 20px;
	width: 202px;
}

.notepad-menubar .menu-item {
	display: block;
	height: 22px;
	line-height: 22px;
	margin-left: 2px;
	margin-right: 1px;
	padding-left: 34px;
	position: relative;
}

.notepad-menubar .menu-item:hover {
	background-color: #99d1ff;
	height: 22px;
}

.notepad-menubar .shortcut {
	position: absolute;
	right: 20px;
}

.notepad-menubar .disabled {
	color: #6d6d6d;
}

.notepad-menubar .disabled:hover {
	background-color: #e6e6e6;
}

.notepad-menubar .menu-hr {
	border: 1px solid #d7d7d7;
	display: block;
	height: 0;
	margin: 4px;
	margin-left: 34px;
}

.notepad-menubar .checked {
	position: absolute;
	width: 22px;
	height: 22px;
	left: 0;
	line-height: 22px;
	text-align: center;
	background-color: #90c8f6;
}

.notepad-dlg-titlebar .title {
	left: 10px;
	line-height: 30px;
	position: absolute;
}

.notepad-dlg-titlebar .close-btn {
	color: gray;
	line-height: 30px;
	position: absolute;
	right: 0;
	text-align: center;
	width: 30px;
}

.notepad-dlg-titlebar .close-btn:hover {
	background-color: red;
	color: white;
}

.notepad-com-list {
	user-select: none;
	width: 200px;
}

.notepad-com-list .editor {
	border: 1px solid #0078d7;
	box-sizing: border-box;
	font-size: 1em;
	height: 20px;
	padding-left: 2px;
	width: 100%;
}

.notepad-com-list .list {
	background-color: white;
	border: 1px solid #828790;
	box-sizing: border-box;
	display: inline-block;
	height: 116px;
	overflow-y: scroll;
	width: 100%;
}

.notepad-com-list .list .item {
	line-height: 16px;
	padding-left: 2px;
}

.notepad-editor {
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 20px;
}

.notepad-dlg-search {
	z-index: 10;
}

.notepad-dlg-search .dialogbox {
	height: 164px;
	width: 414px;
}

.notepad-dlg-search .main {
	height: 132px;
	padding: 6px;
}

.notepad-dlg-search .main .txt-content {
	box-sizing: border-box;
	height: 26px;
	margin: 10px;
	width: 224px;
}

.notepad-dlg-search .main .btn-search {
	position: absolute;
	right: 8px;
	top: 12px;
}

.notepad-dlg-search .main .btn-cancel {
	bottom: 56px;
	position: absolute;
	right: 8px;
}

.notepad-dlg-search .main .search-direction {
	border: 1px solid #dcdcdc;
	box-sizing: border-box;
	height: 52px;
	left: 172px;
	padding: 10px 5px;
	position: absolute;
	top: 64px;
	width: 136px;
}

.notepad-dlg-font {
	z-index: 10;
}

.notepad-dlg-font .dialogbox {
	height: 498px;
	width: 438px;
}

.notepad-dlg-font .main {
	height: 466px;
}

.notepad-dlg-font .main .font-family,
.notepad-dlg-font .main .font-style {
	display: inline-block;
	margin-right: 16px;
}

.notepad-dlg-font .main .sample {
	border-color: white;
	height: 78px;
	margin-top: 28px;
	width: 194px;
}

.notepad-dlg-font .main .script {
	margin-top: 12px;
}

.notepad-dlg-font .main select {
	height: 22px;
	width: 214px;
}

.notepad-dlg-font .main .font-size {
	display: inline-block;
}

.notepad-dlg-font .main .btn-ok {
	bottom: 10px;
	position: absolute;
	right: 110px;
}

.notepad-dlg-font .main .btn-cancel {
	bottom: 10px;
	position: absolute;
	right: 16px;
}

.notepad-dlg-search .main input[value="down"] {
	margin-left: 5px;
}

.notepad-dlg-search .main input[value="capital-sense"] {
	margin-top: 30px;
}

.notepad-editor textarea {
	border-top: 1px solid #d2d2d2;
	box-sizing: border-box;
	height: 100%;
	outline: none;
	overflow: scroll;
	padding: 0 1px;
	resize: none;
	width: 100%;
}


.notepad-com-list .list .selected {
	background-color: #0078d7;
	color: white;
}

.notepad-dlg-main {
	background-color: #f0f0f0;
	box-sizing: border-box;
	font-size: 1.2em;
	padding: 12px;
	position: relative;
}

.notepad-dlg-main .btn {
	height: 28px;
	width: 86px;
}
